<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class PlayerSource extends Model
{
    protected $fillable = ['type_id', 'movie_id', 'content', 'is_free', 'is_vip_free', 'url'];
    public function movie()
    {
        return $this->belongsTo(Movie::class);
    }

    public function type()
    {
        return $this->belongsTo(PlayerType::class);
    }
}
